package com.wu.pojo.reqeust.sys;

import com.wu.pojo.reqeust.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel
@Data
public class DepartmentSaveRequest extends BaseRequest {

    @ApiModelProperty(value = "名称")
    @NotBlank(message = "名称为空")
    private String name;
    @ApiModelProperty(value = "父部门")
    private Long parentId;

}
